package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Leave;
import cn.wolfcode.car.business.query.LeaveQuery;
import cn.wolfcode.car.common.base.query.QueryObject;

import java.util.List;

public interface LeaveMapper {
    int insert(Leave record);

    List<Leave> selectAll();

    List<Leave> selectForList(LeaveQuery query);

    Leave selectOne(Long id);

    void update(Leave leave);

    void setAuditorId(Long id);

}